lcBlockSortEnts Home

Sorts graphic objects within a block using a value of LC_PROP_ENT_PRIORITY property.
Object with higher value will be drawn later then those with lower value.

 BOOL lcBlockSortEnts (
   HANDLE hBlock,
   BOOL bByLayers,
   HWND hWnd
 );

Parameters
hBlock
  Handle to a block.
bByLayers
  If TRUE, then the function will sort entities according to layers order, and only for same layers will use LC_PROP_ENT_PRIORITY values.
hWnd
  Parent window for progress indicator. If NULL is specified then progress indicator will not be displayed.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  Code sample,   lcEntToToplcEntToBottomlcEntToAbovelcEntToUnder